$(function () {
	 if ($.cookie("st") == null) {
		 $.post("user.html",function (data) {
		        $("#include").html(data);
		    });
     }
	 if ($.cookie("st") == 2) {
		 $.post("task.html",function (data) {
		        $("#include").html(data);
		    });
     }
	 if ($.cookie("st") == 3) {
		 $.post("cominf.html",function (data) {
		        $("#include").html(data);
		    });
     }
	 if ($.cookie("st") == 4) {
		 $.post("phone.html",function (data) {
		        $("#include").html(data);
		    });
     }
     if ($.cookie("st") == 1) {
		 $.post("user.html",function (data) {
		        $("#include").html(data);
		    });
     }
     
   
	$("#task").click(function(){
		$.cookie("st", "2");
		$.get("task.html",function (data) {
		    $("#include").html(data);
		});
	});
	$("#user1").click(function(){
		$.cookie("st", "1");
		$.get("user.html",function (data) {
		    $("#include").html(data);
		});
	});
	$("#cominf").click(function(){
		$.cookie("st", "3");
		$.get("cominf.html",function (data) {
		    $("#include").html(data);
		});
	});
	$("#phone").click(function(){
		$.cookie("st", "4");
		$.get("phone.html",function (data) {
		    $("#include").html(data);
		});
	});
	});